# -*- coding: utf-8 -*-
import xadmin
from xadmin.views.base import CommAdminView
from xadmin.plugins.themes import ThemePlugin

class BaseSetting(object):
    enable_themes = True
    use_bootswatch = True


class AdminSettings(object):
    menu_style = "accordion"
    site_title = '后台管理'
    site_footer = '后台管理'


xadmin.site.register(xadmin.views.BaseAdminView,BaseSetting)
xadmin.site.register(xadmin.views.CommAdminView,AdminSettings)
